export default {
  //基础设置
  // 获取（通过投票编号）
  save: {
    method: 'post',
    url: '/vote/save'
  },
  // 获取活动列表
  list: {
    method: 'get',
    url: '/vote/query'
  },
  // 获取某一个活动
  actById: {
    method: 'get',
    url: '/vote/get-by-id'
  },
  //公告获取（通过投票编号）
  notice: {
    method: 'get',
    url: '/vote/conf/notice/get-by-vote-id'
  },
  //设置滚动公告
  setNotice:{
    method: 'post',
    url: '/vote/conf/notice/save'
  },
  //称谓设置
  //获取选手类别
  category: {
    method: 'get',
    url: '/vote/contestant-category'
  },
  //获取选手类别单位
  categoryunit: {
    method: 'get',
    url: '/vote/contestant-category-unit'
  },
  //按钮名称类型
  type: {
    method: 'get',
    url: '/vote/type'
  },
  //票数单位
  unit: {
    method: 'get',
    url: '/vote/unit'
  },
  /**
   * 活动设置
   */
  // 报名设置

  //获取报名设置
  getSignUpConf: {
    method: 'get',
    url: '/vote/conf/sign-up/get-by-vote-id'
  },
  //保存报名设置
  saveSignUpConf: {
    method: 'post',
    url: '/vote/conf/sign-up/save'
  },
  //获取表单
  getForm: {
    method: 'get',
    url: '/vote/contestant/attribute/get-by-vote-id'
  },
  //保存表单
  saveForm: {
    method: 'post',
    url: '/vote/contestant/attribute/save'
  },
  //获取表单类型
  getFormType: {
    method: 'get',
    url: '/vote/contestant/attribute/type'
  },
  //获取表单模式
  getFormMode: {
    method: 'get',
    url: '/vote/contestant/attribute/mode'
  },
  //删除表单
  deleteForm:{
    method: 'post',
    url: '/vote/contestant/attribute/delete-by-id'
  },
  // 广告设置Ad

  //获取报名设置
  getAdDetail: {
    method: 'get',
    url: '/vote/conf/ad/get-by-vote-id'
  },
  //保存广告设置
  saveAdDetail: {
    method: 'post',
    url: '/vote/conf/ad/save'
  },

  //评论设置
  //获取（通过投票编号）评论
  getCommentary: {
    method: 'get',
    url: '/vote/conf/commentary/get-by-vote-id'
  },
  //保存评论设置
  saveCommentary: {
    method: 'post',
    url: '/vote/conf/commentary/save'
  },

  //活动动态
  //获取页面设置
  getbasicPage: {
    method: 'get',
    url: '/vote/conf/basic/get-by-vote-id'
  },
  //保存页面设置
  savebasicPage: {
    method: 'post',
    url: '/vote/conf/basic/save'
  },

  //分享设置
  //获取分享设置
  getShare: {
    method: 'get',
    url: '/vote/conf/share/get-by-vote-id'
  },
  //保存
  saveShare: {
    method: 'post',
    url: '/vote/conf/share/save'
  },

  //发布活动
  publish:{
    method: 'post',
    url: '/vote/publish'
  },
  //获取活动二维码
  getqrcode: {
    method: 'get',
    url: '/vote/qr-code'
  },
  //删除投票活动
  deleteVote:{
    method: 'post',
    url: '/vote/delete-by-id'
  },
  //复制活动
  copyVote:{
    method: 'post',
    url: '/vote/clone'
  },
  //清除选手数据
  clearcontestantdata:{
    method: 'post',
    url: '/vote/contestant/clear-contestant-data'
  },
  //获取选手数据选项
  getOptions: {
    method: 'get',
    url: '/vote/contestant/clear-contestant-data-options'
  },
  //版权
  copyright: {
    method: 'get',
    url: '/vote/conf/basic/copyright'
  },
  //投票日志
  record: {
    method: 'get',
    url: '/vote/record/query'
  },


}